import React, { Component } from 'react'

class Detail1 extends Component {
 componentDidMount(){
     console.log(this.props.history.location.state);
 }
  render() {
    return (
      <div>detail</div>
    )
  }
}

export default Detail1